package com.pgy.backend.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.pgy.backend.entity.User;
import com.pgy.backend.vo.ResultData;
import org.springframework.security.core.userdetails.UserDetailsService;

public interface UserService extends IService<User>, UserDetailsService {

    ResultData login(User user);

    ResultData register(User user);
}
